import java.io.Serializable;
import java.util.ArrayList;


public class User implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String login;
    private Integer age;
    private String password;
	public String cb;
	public ArrayList<Membre> membre;
	private String address;
	
    public User() {
	    this("anonymous", "");
    }
	
    public User(String login, String password) {
        this.login = login;
        this.password = password;
        this.cb = "0987654321234567890";
        this.age=22;
        
    }
	
    public String getAddress() {
        return address;
    }
        
    public void setAddress(String address) {
        this.address = address;
    }
    
    public String getLogin() {
        return login;
    }
	
    public void setLogin(String login) {
        this.login = login;
    }

    public String getCb() {
        return cb;
    }
	
    public void setCb(String cb) {
        this.cb = cb;
    }
    public int getAge() {
        return age;
    }
	
    public void setAge(int age) {
        this.age = age;
    }
    
    public ArrayList<Membre> getMembre() {
        return membre;
    }
	
    public void setMembre(ArrayList<Membre> membre) {
        this.membre = membre;
    }
    
    public String getPassword() {
        return password;
    }
	
    public void setPassword(String password) {
        this.password = password;
    }
	
    public String toString() {
        return login;
    }
    
   
}